English Virtuose

Meta description:

Creates an arcane shield on the caster that protects from a certain amount of damage.

  • Tags:

    No tags

  • Name:

    aArcaneShield

  • Displayed name:

    Arcane shield

  • Description:

    Creates an arcane shield on the caster that protects from a certain amount of damage.

  • Cast description:

    | AP: vAP.string | CD: vCD.strings | | :---: | :---: | | **Flux: vFluxOrCost.string ➞ vFluxCost.string** | **Range: vRange.string** | Gives {vLvl.value*3} extra HP to the caster for the next 20 seconds.

  • Condition:

    assert(character.sFlux.current >= vFluxCost.value, [[You don't have enough Flux]])
  • AP cost:

    1

  • Cooldown:

    5

  • Flux cost:

    apMod(vAP)*cdMod(vCD)*targetMod(1,0)*durMod(20)*vRange*autoSave*halfOnSave*effect(vLvl*15,15,character.sCatalystLvl)*noTestMod
  • Variables:

    vRange = ListVariable([[vRange]], [[Range]], {[[selfMod]]}, {[[Self]]})
    vLvl = NumberVariable([[vLvl]], [[Lvl]], [[1]], [[10]], [[1]])
    vTest = ListVariable([[vTest]], [[Test]], {[[character.sArcana]]}, {[[Arcana]]})
    vMR = StatVariable([[vMR]], [[vTest]])
  • On used script:

    character.sFlux:changeCurrent(-vFluxCost.value)
    
  • On post script:

    if (success) then
        action.currentCD.value = vCD.value
    end
    
  • Type:

    1

  • Action effects:

    • Use case:

      1

    • Name:

      Arcane Shield

    • Description:

    • Script:

      effect = character:createEffect([[mArcaneShield]])
      effect.displayName:set([[Arcane shield]])
      effect.description:set([[Give {{vLvl.value*3}} Extra HP.]])
      
      effect.script:set([=[character.sExtraHP:changeCurrent({{vLvl.value*3}})]=])
      
      effect.duration:set(20)
      effect:activate()
    • Variables: